package org.jeecg.modules.columnTopic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: 栏目订阅
 * @Author: jeecg-boot
 * @Date:   2020-12-05
 * @Version: V1.0
 */
@Data
@TableName("column_topic_publish")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="column_topic_publish对象", description="栏目订阅")
public class ColumnTopicPublish implements Serializable {

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**栏目id*/
	@Excel(name = "栏目id", width = 15)
    @ApiModelProperty(value = "栏目id")
    private String columnId;
    /**栏目id*/
    @Excel(name = "栏目名称", width = 15)
    @ApiModelProperty(value = "栏目名称")
    @TableField(exist = false)
    private String columnName;
	/**用户openId*/
	@Excel(name = "用户openId", width = 15)
    @ApiModelProperty(value = "用户openId")
    private String openId;
}
